﻿package controllers.read;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import rbac.models.User;

import models.Cjdata;
import models.Zjlist;

import com.et.mvc.BinaryView;
import com.et.mvc.JsonView;
import com.et.mvc.MultipartFile;
import com.et.mvc.TextView;
import com.et.mvc.View;
import com.et.mvc.JspView;
import com.et.mvc.filter.BeforeFilter;
import com.et.mvc.filter.BeforeFilters;

import controllers.ApplicationController;


public class ZjlistController extends ApplicationController {
	
	public JspView index() throws Exception{
		JspView view = new JspView("/system/zjlist/index.jsp"); 
        view.setAttribute("readmode", "true"); 
        return view; 

	}
	
	public void showZjlistInfo(String zid) throws Exception {
		
		Zjlist item = null;
		
		item = Zjlist.findFirst(Zjlist.class,"company_id = ?",new Object[]{zid});
		
		
        request.setAttribute("item", item);	
	}
	
}
